package org.hank.demoproject.httphelper

import org.hank.roomdemo.UserInfo
import retrofit2.http.*


interface ApiService {
    //登录
    @FormUrlEncoded
    @POST("user/login")
    suspend fun login(
        @Field("username") username: String,
        @Field("password") password: String,
    ): HttpWrapBean<UserInfo>
}